package com.demo.phonerepair.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.phonerepair.module.ManagementCreateDTO;
import com.demo.phonerepair.module.ManagementUpdateDTO;
import com.demo.phonerepair.pojo.Management;

import java.util.Map;

public interface ManagementService extends IService<Management> {
    public Map<String, Object> getAllManagement(
            Integer userId, String userRole, String searchKeyword,
            Integer pageNum, Integer pageSize, String sortField,
            String sortOrder);
    Boolean deleteRepair(Integer repairId, Integer userId, String password);

    Boolean createRepairManagement (ManagementCreateDTO createDTO);

    Boolean updateRepairManagement(ManagementUpdateDTO updateDTO);
}
